package com.cirkana.viewer.location.select;

import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;

import android.location.Location;

import com.cirkana.serial.SerializablePassData;

public class SelectLocationPassData extends SerializablePassData {

	private Location location;

	public void setLocation(Location location) {
		this.location = location;
	}

	public Location getLocation() {
		return location;
	}
	
	public boolean hasLocation() {
		return this.location != null;
	}
		
	
	@Override
	public void deserialize(DataInputStream in) throws IOException {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void serialize(DataOutputStream out) throws IOException {
		// TODO Auto-generated method stub
		
	}	
	
}
